package Teste;

import static org.junit.Assert.*;
import junit.framework.Assert;

import org.junit.Test;

import br.ifpi.CalculadoraSalario.Calculo;

public class TesteMetodos {

	@SuppressWarnings("deprecation")
	@Test
	public void test() {
		Calculo met = new Calculo();
	Assert.assertEquals("1350,00",met.salarioCalculado("1500", 1));
	Assert.assertEquals("3200,00",met.salarioCalculado("4000", 1));
	Assert.assertEquals("850,00",met.salarioCalculado("1000", 2));
	Assert.assertEquals("3000,00",met.salarioCalculado("4000", 2));
	Assert.assertEquals("850,00",met.salarioCalculado("1000", 3));
	Assert.assertEquals("3000,00",met.salarioCalculado("4000", 3));
	Assert.assertEquals("3200,00",met.salarioCalculado("4000", 4));
	Assert.assertEquals("4200,00",met.salarioCalculado("6000", 4));
	}

}
